b8e7368f2d1576d29511a4374e024799ae46c480,osgi/service/src/main/java/org/jboss/as/osgi/service/AutoInstallIntegration.java,AutoInstallIntegration,start,#StartContext#,96
Before Change
@Override
public void start(StartContext context) throws StartException {
ServiceController<?> controller = context.getController();
log.debugf("Starting: %s in mode %s", controller.getName(), controller.getMode());
final Map<ServiceName, OSGiModule> pendingServices = new LinkedHashMap<ServiceName, OSGiModule>();
try {
final BundleManagerService bundleManager = injectedBundleManager.getValue();
final ServiceContainer serviceContainer = context.getController().getServiceContainer();
final ServiceTarget serviceTarget = context.getChildTarget();
final File modulesDir = injectedEnvironment.getValue().getModulesDir();
final File bundlesDir = new File(modulesDir.getPath() + "/../bundles").getCanonicalFile();
After Change
@Override
public void start(StartContext context) throws StartException {
serviceController = context.getController();
log.debugf("Starting: %s in mode %s", serviceController.getName(), serviceController.getMode());
final Map<ServiceName, OSGiModule> pendingServices = new LinkedHashMap<ServiceName, OSGiModule>();